package ru.vpitervip.app.client.request;

import java.util.List;

import com.google.web.bindery.requestfactory.shared.*;

import ru.vpitervip.client.managed.request.FacilityProxy;
import ru.vpitervip.client.managed.request.FlatRequest;
import ru.vpitervip.client.managed.request.MetroStationProxy;

@ServiceName("ru.vpitervip.server.domain.Flat")
public interface AppFlatRequest extends FlatRequest{
	
	abstract Request<ru.vpitervip.client.managed.request.FlatProxy> findVipFlat(Long id);
	
	abstract Request<java.lang.Long> countVipFlats(List<String> facilityIds, MetroStationProxy metroStation, Integer rooms);
	
	abstract Request<java.util.List<ru.vpitervip.client.managed.request.FlatProxy>> findVipFlats(int firstResult, int maxResults,List<String> facilityIds,MetroStationProxy metroStation, Integer rooms);

}
